/**
 * 分模块的页面路由地址
 * * */
const order = [
  {
    path: 'list', //访问地址/form-designer/list
    name: 'formDesignerList', //权限控制的
    hidden: true,
    meta: {
      title: '商品资料',
      name: '商品例表'
    },
    component: () => import('@/views/form-designer/index.vue')
  },
  {
    //系统管理
    path: 'manage',
    name: 'formDesignerManage',
    hidden: true,
    meta: {
      title: '商品管理',
      isThree: true, //标记是不是三级菜单
      redirectPath: '/form-designer/manage/specification' //指定跳转到那一个子路由
      // activeMenu: '/goods/manage' //设置高亮
    },
    children: [
      {
        path: 'list',
        fullPath: '/form-designer/manage/list', //全路径
        name: 'formDesignerManageList',
        meta: {
          title: '新增商品资料',
          name: '商品例表',
          activeMenu: '/form-designer/manage', //三级用得到---1级2级不需要设置父路径
          isThree: false //标记三级菜单--
        },
        hidden: false,
        component: () => import('@/views/form-designer/list.vue')
      },
      {
        path: 'specification',
        fullPath: '/form-designer/manage/specification',
        name: 'formDesignerManageSpecification',
        hidden: false,
        meta: {
          title: '新增商品详情',
          name: '商品例表',
          activeMenu: '/form-designer/manage', //三级用得到---1级2级不需要设置父路径
          isThree: false //标记三级菜单
        },
        component: () => import('@/views/form-designer/specification.vue')
      }
    ]
  }
]

export default order
